﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace WpfApplication1.Model
{
    class City : ModelBase
    {
        public ObservableCollection<Town> Towns { get; private set; }
        
        private string name = default(string);
        public string Name
        {
            get { return name; }
            set { Set("Name", ref name, value); }
        }

        public City()
        {
            Towns = new ObservableCollection<Town>();
        }

    }
}
